package com.ouc.dataMange.mapper;

import java.util.List;

import com.ouc.dataMange.domain.SysMemoryDevice;

/**
 * memoryDeviceMapper接口
 *
 * @author yuhao
 * @date 2025-07-14
 */
public interface SysMemoryDeviceMapper {
  /**
   * 查询memoryDevice
   *
   * @param id memoryDevice主键
   * @return memoryDevice
   */
  public SysMemoryDevice selectSysMemoryDeviceById(Integer id);

  /**
   * 服务器硬盘列表（只能查看，不能增加修改）
   * @param sysMemoryDevice
   * @return
   */
  public SysMemoryDevice selectSysMemoryDeviceByDevice(SysMemoryDevice sysMemoryDevice);

  /**
   * 查询memoryDevice列表
   *
   * @param sysMemoryDevice memoryDevice
   * @return memoryDevice集合
   */
  public List<SysMemoryDevice> selectSysMemoryDeviceList(SysMemoryDevice sysMemoryDevice);

  /**
   * 新增memoryDevice
   *
   * @param sysMemoryDevice memoryDevice
   * @return 结果
   */
  public int insertSysMemoryDevice(SysMemoryDevice sysMemoryDevice);

  /**
   * 修改memoryDevice
   *
   * @param sysMemoryDevice memoryDevice
   * @return 结果
   */
  public int updateSysMemoryDevice(SysMemoryDevice sysMemoryDevice);

  /**
   * 删除memoryDevice
   *
   * @param id memoryDevice主键
   * @return 结果
   */
  public int deleteSysMemoryDeviceById(Integer id);

  /**
   * 批量删除memoryDevice
   *
   * @param ids 需要删除的数据主键集合
   * @return 结果
   */
  public int deleteSysMemoryDeviceByIds(Integer[] ids);
}
